﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace SARUserControls
{
	/// <summary>
	/// ChartPoint.xaml 的交互逻辑
	/// </summary>
	public partial class ChartPoint : UserControl
	{
		public ChartPoint()
		{
			this.InitializeComponent();
		}

        public Color ChartPointColor
        {
            set
            {
                Color color1 = Color.FromRgb(value.R,value.G,value.B);
                color1.A = 0xff;
                Color color2 = Color.FromRgb(value.R,value.G,value.B);
                color2.A = 0x33;
                Resources["PointColor1"] = color1;
                Resources["PointColor2"] = color2;
            }
        }
	}
}